/*顶部导航栏使用的*/
$(document).ready(function(){
    $('[data-submenu]').submenupicker();//激活多级菜单
    $("[data-toggle='popover']").popover();//激活悬浮框
});

function showNav() {
    $(".navbar-fixed-top").slideDown();
    $('#cc').layout('expand', 'north');
}
function closeNav() {
    $(".navbar-fixed-top").hide();
    $('#cc').layout('collapse', 'north')
}

function show() {
    var html=' ' +
        '<span class="pull-right glyphicon glyphicon-fullscreen" onclick="showNav()">&nbsp;</span> ' +
        '<span class="pull-right "><span class="glyphicon glyphicon-user"></span>Admin &nbsp;&nbsp;</span> ' +
        '<span class="pull-left ">&nbsp;<span class="glyphicon glyphicon-th-list"></span>&nbsp;当前位置:</span> ' +
        '<span class="pull-left ">&nbsp;主菜单&nbsp;&nbsp;/&nbsp;</span> '+
        '<span class="pull-left ">&nbsp;区域医疗&nbsp;&nbsp;/&nbsp; </span> '+
        '<span class="pull-left ">&nbsp;系统管理 </span> ';
    return html;
}